package com.Lishuai.Control;

import com.Lishuai.Pojo.User;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
@Controller
@ResponseBody
public class test {
    @RequestMapping("/login")
    public void test(@RequestBody User user){
        System.out.println(user);
    }
}
